package com.hx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;


@SpringBootApplication
//@ComponentScan(basePackages = {"com.hx"})
@MapperScan(basePackages = {"com.hx.mapper"})
//public class AutoSqlApplication extends SpringBootServletInitializer{
public class AutoSqlApplication {

    public static void main(String[] args) {
        SpringApplication.run(AutoSqlApplication.class, args);
    }

    //@Override
    //protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
    //    return super.configure(builder);
    //
    //}


}
